Skip to content

Conversation

@federicobond
Copy link
Member

Description

This is a first pass at updating and modernizing panel styles. Takes some cues from the design language of the built-in Django Admin UI, especially table headers and colors.

I've also updated some column headers and placed units like ms beside each value instead of up in the headers. This improves legibility and allows expressing each value with appropriate units if necessary later.

Where appropriate, I've reduced the precision of some values displayed to a more meaningful value.

I would like to follow up this with specific improvements to the information layout of some panels.

Screenshots

Captura de pantalla 2025-12-17 a la(s) 12 07 27 p  m Captura de pantalla 2025-12-17 a la(s) 12 07 59 p  m

Note: the Time column width has been fixed after the screenshot was taken.

Captura de pantalla 2025-12-17 a la(s) 12 08 09 p  m Captura de pantalla 2025-12-17 a la(s) 12 08 29 p  m

Checklist:

  • I have added the relevant tests for this change.
  • I have added an item to the Pending section of docs/changes.rst.

@github-actions
Copy link

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  debug_toolbar/panels
  timer.py
  debug_toolbar/panels/sql
  utils.py
Project Total  

This report was generated by python-coverage-comment-action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant